When you record a script or populate the application repository, QA Wizard Pro captures and analyzes the application controls and identifies the type of each one. The type is saved in the repository and used to determine actions that can be performed on the control.
If QA Wizard Pro cannot identify a control type, it is added to the repository as a generic control. Scripts can only use low-level action statements to interact with generic controls.
You may need to change a control type to identify it more accurately so you can use other statements to interact with it. For example, you can change a generic control that you enter text in to an edit box. This lets you to add statements that perform object actions, such as Set Text, on the control instead of relying on low-level action statements.
It is easiest to change control types in the Repository Changes dialog box that opens after you record a script or populate the repository. The resulting script includes object action statements for controls you interacted with instead of low-level actions.
Note: You cannot change the control type for windows.
1. Select a control in the Application Repository pane and choose File > Properties.
The Properties dialog box opens.
Tip: Select a control in the Preview pane to quickly locate it in the Application Repository pane.
2. Select a Control type.
You can change any control to a Button, Check Box, Edit Box, or Tab Bar. Make sure you select a control type that matches the control.
3. Click OK to save the changes.
The control type is changed in the repository.